﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Setup/MasterPage.master" AutoEventWireup="true" CodeFile="setupcolumn.aspx.cs" Inherits="Setup_setupcolumn" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 163px;
        }
        .style2
        {
            width: 220px;
        }
        .style3
        {
            width: 137px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:HyperLink ID="back" runat="server">返回</asp:HyperLink>
    <table style="width:100%;">
        <tr>
            <td>
                字段名：<span id="colname"><asp:Literal ID="columnname" runat="server"></asp:Literal></span>
                字段类型：<asp:Literal ID="columntype" runat="server"></asp:Literal>
                表名：<span id="tablename"><asp:Literal ID="tableName" runat="server"></asp:Literal></span>
                XML名：<span id="xmlname"><asp:Literal ID="xmlName" runat="server"></asp:Literal></span>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button2" runat="server" Text="确定" onclick="Button1_Click" />
            </td>
        </tr>
        <tr>
            <td>
                <b>列表显示</b><asp:CheckBox ID="isListShow" runat="server" />
                &nbsp;对齐方式<asp:DropDownList ID="listHalign" runat="server">
                </asp:DropDownList>
                <table style="width:100%;">
                    <tr>
                        <td class="style1">
                            显示名称</td>
                        <td>
                            <asp:TextBox ID="listshowname" runat="server" style="margin-left: 0px"></asp:TextBox>
                            允许排序<asp:CheckBox ID="listshowallowsort" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            显示顺序</td>
                        <td>
                            <asp:TextBox ID="listshoworder" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            显示类型</td>
                        <td>
                            <asp:DropDownList ID="listshowtype" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            显示formate</td>
                        <td>
                            <asp:TextBox ID="listshowformate" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            图片宽</td>
                        <td>
                            <asp:TextBox ID="listshowimgwidth" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            图片高</td>
                        <td>
                            <asp:TextBox ID="listshowimgheight" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            连接地址</td>
                        <td>
                            <asp:TextBox ID="listshowlinkurl" runat="server"></asp:TextBox>
                            <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                                Text="设置为默认Bool连接地址" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            打开位置</td>
                        <td>
                            <asp:TextBox ID="listlinktarget" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            连接地址绑定字段</td>
                        <td>
                            <asp:TextBox ID="listshowlinkboundfields" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            连接固定文字</td>
                        <td>
                            <asp:TextBox ID="listshowlinktext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            是文字</td>
                        <td>
                            <asp:TextBox ID="listshowtruetext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            否文字</td>
                        <td>
                            <asp:TextBox ID="listshowfalsetext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            设置为是时记录设置日期的字段名</td>
                        <td>
                            <asp:TextBox ID="booldate" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            提示文字</td>
                        <td>
                            <asp:TextBox ID="listshowconfirmtext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            外键主表</td>
                        <td>
                            <asp:TextBox ID="listshowMaintable" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            主表主键</td>
                        <td>
                            <asp:TextBox ID="listshowmaintablepk" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            外键显示字段</td>
                        <td>
                            <asp:TextBox ID="listshowmaintableshowfield" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            模板地址</td>
                        <td>
                            <asp:TextBox ID="listshowtemplatepath" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <b>添加显示<asp:CheckBox ID="isAddShow" runat="server" />
                编辑显示</b><asp:CheckBox ID="isEditShow" runat="server" />
                <table style="width:100%;">
                    <tr>
                        <td class="style2">
                            显示名称</td>
                        <td>
                            <asp:TextBox ID="editshowname" runat="server" style="margin-left: 0px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            显示顺序</td>
                        <td>
                            <asp:TextBox ID="editshoworder" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            显示类型</td>
                        <td>
                            <asp:DropDownList ID="editshowtype" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            默认值</td>
                        <td>
                            <asp:TextBox ID="addShowDefaultvalue" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            文本框宽度</td>
                        <td>
                            <asp:TextBox ID="editshowtextboxwidth" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            隐藏来源（request）</td>
                        <td>
                            <asp:TextBox ID="editshowhiddenfrom" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            允许上传扩展名（逗号分隔）</td>
                        <td>
                            <asp:TextBox ID="editshowallowupext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            图片宽</td>
                        <td>
                            <asp:TextBox ID="editshowimgwidth" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            图片高</td>
                        <td>
                            <asp:TextBox ID="editshowimgheight" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            必填</td>
                        <td>
                            <asp:CheckBox ID="editshowrequired" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            范围</td>
                        <td>
                            <asp:CheckBox ID="editshowrange" runat="server" />
                            <asp:DropDownList ID="editshowrangtype" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            范围最小值</td>
                        <td>
                            <asp:TextBox ID="editshowrangeminvalue" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            范围最大值</td>
                        <td>
                            <asp:TextBox ID="editshowrangemaxvalue" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            正则</td>
                        <td>
                            <asp:CheckBox ID="editshowregexp" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            正则表达式</td>
                        <td>
                            <asp:TextBox ID="editshowregexptext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            正则错误提示</td>
                        <td>
                            <asp:TextBox ID="editshowregexperrmsg" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            下拉sql</td>
                        <td>
                            <asp:TextBox ID="editshowsql" runat="server" Height="44px" TextMode="MultiLine" 
                                Width="412px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            下拉值字段</td>
                        <td>
                            <asp:TextBox ID="editshowvalue" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            下拉显示字段</td>
                        <td>
                            <asp:TextBox ID="editshowtext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            模板文件地址</td>
                        <td>
                            <asp:TextBox ID="editshowtemplate" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            模板相关字段（逗号分隔）</td>
                        <td>
                            <asp:TextBox ID="editshowtemplatefields" runat="server" Width="245px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            模板相关值request（逗号分隔）</td>
                        <td>
                            <asp:TextBox ID="editshowtemplatevaluesfrom" runat="server" Width="244px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <b>搜索显示</b><asp:CheckBox ID="isSearchShow" runat="server" />
                <table style="width:100%;">
                    <tr>
                        <td class="style3">
                            显示名称</td>
                        <td>
                            <asp:TextBox ID="searchshowname" runat="server"></asp:TextBox>
                            搜索方式<asp:DropDownList ID="searchshowruntype" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            显示顺序</td>
                        <td>
                            <asp:TextBox ID="searchshoworder" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            显示类型</td>
                        <td>
                            <asp:DropDownList ID="searchshowtype" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            个/每行</td>
                        <td>
                            <asp:TextBox ID="searchshowitemcountperrow" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            下拉sql</td>
                        <td>
                            <asp:TextBox ID="searchshowsql" runat="server" Height="55px" TextMode="MultiLine" 
                                Width="476px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            下拉值字段</td>
                        <td>
                            <asp:TextBox ID="searchshowvalue" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            下拉显示字段</td>
                        <td>
                            <asp:TextBox ID="searchshowtextfield" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            范围</td>
                        <td>
                            <asp:CheckBox ID="searchshowrange" runat="server" />
                            <asp:DropDownList ID="searchrangetype" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            范围最小值</td>
                        <td>
                            <asp:TextBox ID="searchshowrangeminvalue" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            范围最大值</td>
                        <td>
                            <asp:TextBox ID="searchshowrangemaxvalue" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            正则</td>
                        <td>
                            <asp:CheckBox ID="searchshowregexp" runat="server" />
                            <asp:TextBox ID="searchshowregexptext" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            正则错误提示</td>
                        <td>
                            <asp:TextBox ID="searchshowregexperrmsg" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            模板地址</td>
                        <td>
                            <asp:TextBox ID="searchshowtemplate" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            模板相关字段</td>
                        <td>
                            <asp:TextBox ID="searchshowtempfields" runat="server" style="height: 22px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            模板相关值来源</td>
                        <td>
                            <asp:TextBox ID="searchshowtempvaluesfrom" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            搜索需运行SQL</td>
                        <td>
                            <asp:TextBox ID="searchshowrunsql" runat="server" Height="71px" 
                                TextMode="MultiLine" Width="436px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button1" runat="server" Text="确定" onclick="Button1_Click" />
            </td>
        </tr>
    </table>
</asp:Content>

